import { UploadController } from './controller/UploadController'
import type { App } from 'vue'
import type { UploaderConfigType } from './types'
import { Message } from './hooks/Message'

// 启动类
class MaUploader extends UploadController {
  constructor(config: UploaderConfigType) {
    super(config)
  }
}

// 导出构造类
export default MaUploader
// 导出工具函数
export {
  Message
}

// 导出类型供外部使用
export type * from './types'
